﻿package  {
	
	import flash.display.MovieClip;
	
	
	public class LamparaRGB extends MovieClip {
		
		private var idlampara:int;
				private var isOn:Boolean = false;

		
		public function LamparaRGB(id:int) {
			idlampara=id;
		}
		
		public function getId():int{
			return idlampara;
		}
				public function change():Boolean{
			isOn = !isOn;
			return isOn;
			}

	}
	
}
